package com.maixy.redisdemo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

/**
 * @Classname BaseModel
 * @Description TODO
 * @Date 2020/11/1 17:15
 * @Author by maixy
 */
@Data
public class BaseModel {
    @TableId(value = "id_")
    private Long id;

    @TableField(value = "create_by_")
    private Long createBy;

    @TableField(value = "create_time_")
    private Long createTime;

    @TableField(value = "update_by_")
    private Long updateBy;

    @TableField(value = "update_time_")
    private Long updateTime;

    @TableField(value = "has_delete_")
    private Boolean hasDelete;
}
